# -*- coding: utf-8 -*-

# File Name： step_detail
# Description :
# Author : 'li'
# date： 2022/5/23
# Change Activity:
# 2022/5/23:
class StepDetail:
    """
    记录pipline中每一步执行结果
    """

    def __init__(self, step_name, start_time, end_time, inputs, outputs):
        """

        Args:
            step_name:
            start_time:
            end_time:
            inputs:
            outputs:
        """
        self.step_name = step_name
        self.start_time = start_time
        self.end_time = end_time
        self.inputs = inputs
        self.outputs = outputs
        self.during = self.end_time - self.start_time
